# define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
int find(char* str1, char* str2)
{
	char tmp[250] = { 0 };
	strcpy(tmp, str1);
	strcat(tmp, str1);
	return strstr(tmp, str2) != NULL;
}
int main()
{
	int get = find("ABBCD", "BCDAB");
	printf("%d\n", get);
	return 0;
}